obj-m := hello.o
KDIR:=/home/ice/workspace/linuxtf //linuxtf是我的开发板的内核源码
PWD:=$(shell pwd)
all:
        make -C $(KDIR) M=$(PWD) modules
clean:
        rm -f *.o *.ko *.mod.* Module.* modules.*
